#include "my_allocator.h"
#include <iostream>
#include <list>

int main(int argc, char** argv) {
	list<int, my_allocator<int>> l;
	l.push_back(2);
	l.push_back(7);
	l.push_back(5);
	l.push_back(11);
	for (list<int>::iterator it = l.begin(); it != l.end(); it++) {
		cout << *it << " ";
	}
	l.pop_back();
	cout << endl;
	return 0;
}

